home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 272 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.1 KB

  1. Path: nntp.teleport.com!sschaem
  2. From: sschaem@teleport.com (Stephan Schaem)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: C2P
  5. Date: 5 Jan 1996 16:53:44 GMT
  6. Organization: Teleport - Portland's Public Access (503) 220-1016
  7. Distribution: world
  8. Message-ID: <4cjl2o$4im@maureen.teleport.com>
  9. References: <4cj57f$7qe@irz210.inf.tu-dresden.de>
  10. NNTP-Posting-Host: kelly.teleport.com
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. Sven Steiniger (ss37@irz.inf.tu-dresden.de) wrote:
  14.  
  15. : Hi Everyone !
  16.  
  17. : I have several questions about c2p-converters
  18. :   - what are the fastest ones (ideas, theory, sources) ?
  19.  
  20.  I personaly use the 5 pass methode.
  21.  swap word
  22.  swap byte
  23.  swap nyble
  24.  swap bitpair
  25.  swap bit
  26.  
  27. :   - what the hell is a scrambled (maybe spelled wrong) buffer ?
  28. :     (I have heard this sometimes  in this group)
  29. :     and what are his adventages/disadvantages ?
  30.  
  31.  In the 5 pass example, you can remove some pass (Word, byte) by
  32.  swaping the data at the moment of writing the chunky pixels.
  33.  Advantage a few pass eliminated, disadvantage your rendring is maybe
  34.  a bit more complex/slower. (If you render H line vs V line)
  35.  
  36. :   - are there any very fast c2p which use a comparebuffer ?
  37.  
  38.  depand on the aplication I guess... The amiga mac emulator ShapwShifter
  39.  has a range of driver that use Delta/checksum/mmu buffer in conjunction
  40.  with the plannar/chunky buffer.
  41.  
  42. :   - ... anything to this topic
  43. : I have never written an c2p by myself but I converted and modified
  44. : converters I found in aminet. All of them do not use fixed plsize and the
  45. : most are for 8 bitplanes.
  46.  
  47.  Aminet is not a good image of where c2p is today.
  48.  
  49. : My actual approachs are (50Mhz 030, OS-conform (except screens of
  50. : gfxcards), 320x256)
  51. :   8bpls : 45ms
  52. :   6bpls : 43ms
  53. :   4bpls : 30ms
  54. : These c2p-converter(s) use LONG-writes to CHIPmem.
  55.  
  56.  I get 21ms for 4bpl on a 25mhz 030 ECS (The nibble pass is not
  57.  done, so 4 pass VS 5),  a 2 pass 8ppl methode using the 4ppl
  58.  code resul.t to ~42ms on a 25mhz A3000 (ECS).
  59.  
  60.  My stuff c2p to standart amiga bitmap (interleaved or not)
  61.  
  62.  I'm personally waiting for some new C2p code to be posted soon
  63.  that is suposed to be much faster then what I wrote so far.
  64.  
  65.  Stephan
  66.